var glodate= {
	 serverZuul : "http://localhost:9527/",
	 serverProduct:"http://localhost:1001/",
	 serverSearch:"http://localhost:1050/",
	 serverUser:"http://localhost:3001/",
	 pre: "http://localhost:8000/supershop-admin/",
	setUserInfo :function (nikename,token,userId){
	 	localStorage.setItem("token",token);
		localStorage.setItem("nikename",nikename);
		localStorage.setItem("id",userId);
	},
	getToken:function (){
	 	return localStorage.getItem("token");
	},
	getNikeName:function (){
		return localStorage.getItem("nikename");
	},
	getUserId:function (){
		return localStorage.getItem("id");
	}
	//
}
document.write('<link rel="stylesheet" href="' + glodate.pre+ 'src/views/sweetalert/sweetalert2.min.css" type="text/css"/>');
document.write('<link rel="stylesheet" href="' + glodate.pre+ 'src/views/layui-v2.5.6/layui/css/layui.css" type="text/css"/>');
document.write('<script src="'+glodate.pre+'src/views/layui-v2.5.6/layui/layui.js"></script>');
document.write('<script src="'+glodate.pre+'src/views/sweetalert/sweetalert2.all.min.js"></script>');

